/*
 * Word.cpp
 *
 *  Created on: 2017年6月21日
 *      Author: heqian
 */

#include "Word.h"

namespace mmseg {

Word::Word(int offset, int size, EnumPos pos, const string& other) {
	mPos = pos;
	mOther = other;
	mSize = size;
	mOffset = offset;
}

Word::Word(int offset, int size) :
		mPos(un) {
	mSize = size;
	mOffset = offset;
}

Word::~Word() {
}

const string& Word::getOther() const {
	return mOther;
}

EnumPos Word::getPos() const {
	return mPos;
}

int Word::getOffset() const {
	return mOffset;
}

int Word::getSize() const {
	return mSize;
}

} /* namespace mmseg */
